<!-- 数字选择型的模板 -->
<script type="text/html" id="digital-template">
<span data-flag="position_area" <%if(isPosition==false){%>style="display:none;"<%}%>>
	<label for="position_0">
		<input name="position" id="position_0" type="checkbox" value="0">万位
	</label>
	<label for="position_1">
		<input name="position" id="position_1" type="checkbox" value="1">千位
	</label>
	<label for="position_2">
		<input name="position" id="position_2" type="checkbox" value="2">百位
	</label>
	<label for="position_3">
		<input name="position" id="position_3" type="checkbox" value="3">十位
	</label>
	<label for="position_4">
		<input name="position" id="position_4" type="checkbox" value="4">个位
	</label>
	<span style="color: rgb(0, 0, 0); margin-left: 10px;">
		<b>温馨提示：</b>你选择了 
		<b><span id="positioncount" style="color: red;">2</span></b> 个位置，系统自动根据位置组合成
 		<b><span id="positioninfo" style="color: red;">1</span></b> 个方案。
	</span>
</span>
<!-- 如需添加按钮的高亮效果，请添加class game-lbtn后面加  game-lbtn-active-->
<%_.each(items,function(item,index) {%>
<div class="game-xhlist-left">
	<span><%=item[0] %></span>
	<%_.each(item[1].split('|'),function(digital,index) {%>
		<input type="button" value="<%=digital %>" class="game-lbtn" />
	<%})%>
</div><!--	/game-menu-s -->
<div class="game-xhlist-right" <%if(isRbtn==false){%>style="display:none;"<%}%>>
	<%if(isQing==true){%>
		<input type="button" value="清" data-flag="qing" class="game-rbtn" />
	<%}%>
	<%if(isShuang==true){%>
		<input type="button" value="双" data-flag="shuang" class="game-rbtn" />
	<%}%>
	<%if(isDan==true){%>
		<input type="button" value="单" data-flag="dan" class="game-rbtn" />
	<%}%>
	<%if(isXiao==true){%>
		<input type="button" value="小" data-flag="xiao" class="game-rbtn" />
	<%}%>
	<%if(isDa==true){%>
		<input type="button" value="大" data-flag="da" class="game-rbtn" />
	<%}%>
	<%if(isQuan==true){%>
		<input type="button" value="全" data-flag="quan" class="game-rbtn" />
	<%}%>
</div><!--	/game-menu-s -->
<div class="clearfix"></div>
<%})%>
</script>